package com.xyyl.patient.service.evaluating;

import com.xyyl.patient.core.support.Pager;
import com.xyyl.patient.entity.evaluating.Evaluating;
import com.xyyl.patient.entity.evaluating.EvaluatingQuestionVO;
import com.xyyl.patient.entity.evaluating.EvaluatingType;
import com.xyyl.patient.entity.evaluating.EvaluatingUser;

import java.util.List;

 /**
 * @projectName:xyyl-oms-server
 * @ClassName: Evaluating
 * @Description:Evaluating
 * @author kellie
 * @date 2018-01-03 14:41:05
 */
public interface EvaluatingService {

	 public  List<EvaluatingType> getEvaluatingCategories();
	 public  List<Evaluating> getEvaluating(Pager pager);
	 public  List<Evaluating> getEvaluatingByUser(Integer id);

	 public Evaluating  queryObject(Integer id);

	 public  List<EvaluatingQuestionVO> getEvaluatingQuestion(Integer id);
	 public Evaluating getEvaluatingAnswer(Integer EvaluatingId, Integer score);
	 public int setEvaluatingAnswer(EvaluatingUser evaluatingUser);

	 public  int addEvaluatingAnswer();

	 int  saveEvaluating(Evaluating EvaluatingEntity);
	
	 int  updateEvaluating(Evaluating EvaluatingEntity);
	
	 int  deleteEvaluating(Integer id);
	
	 int  batchDeleteEvaluating(Integer [] ids);
     
}
